package com.cjm.one.webmanager.service.customer.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.common.result.Result;
import com.cjm.one.custom.client.CustomerLoginLogClient;
import com.cjm.one.model.custom.entity.CustomerLoginLog;
import com.cjm.one.webmanager.service.customer.CustomerLoginLogService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class CustomerLoginLogServiceImpl implements CustomerLoginLogService {
    @Resource
    private CustomerLoginLogClient customerLoginLogClient;
    @Override
    public Result<Page<CustomerLoginLog>> list(Integer current, Integer size, String customerId, String startTime, String endTime) {
        return customerLoginLogClient.list(current, size, customerId, startTime, endTime);
    }
}
